home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / utilmus / weed.lha / weed.doc < prev   
Text File  |  1996-02-12  |  1KB  |  34 lines

  1. Quick doc...
  2.  
  3.  
  4. My Aminet sets arrived today. I eagerly inserted the mods CD, and wanted to
  5. build a playlist over the songs. So I tried making a shell script to do
  6. that for me. Didnt work. So I found the Delilist by Slingshot. Excellent
  7. little util. Except for one thing. It includes EVERYTHING into the
  8. playliest. Since I didn't want to include the #?.readme files. I started to
  9. remove the entries by hand. Now, THAT sucked. So, I made a small C program
  10. to remove all unwanted lines.
  11.  
  12. Weed <sourcefile> <destfile> <pattern(s)>
  13.  
  14. Weed is the program :)
  15.  
  16. <sourcefile> is the list you want weeded out.
  17. <destfile> is the file you want to create without the <pattern>
  18. <pattern(s)> is the pattern(s) you want weeded out, seperated by a space.
  19.  
  20. Now, if you (like me) makes a list over the mods on the CD's, you must run
  21. the list through weed a few times.
  22.  
  23. First I used delilist this way:
  24.  
  25. Delilist cd0:aminet/mods ram:temp.program all
  26.  
  27. and then I used weed like this :
  28.  
  29. weed ram:temp.program ram:AminetSet2.program readme .BBS /.lha INDEX MSD
  30.  
  31. Now the list is just the way I want it :)
  32. Just copy the final output file to wherever you prefer..
  33.  
  34. Anyway, have fun.